--- layout: notebook title: Python shorts: Plotting word counts through time with Pandas, Resample, and Plotly image: path: /assets/img/blog/763.jfif description: > Python shorts: Getting word counts through time with Pandas and Resample sitemap: false --- Word counts

Plotting word counts through time with Pandas, Resample, and Plotly


1. Open and prepare the dataset


This task works with an example dataset of old-fashioned Dutch boy names. Just because the are short and, in my humble opinion, also because they sound quite cool. If you are working with your own data, then you need a dataframe with at least two columns:


2. Getting the words counts